package patterns.struct.adapter.aclass1;

public class Machine {

    void work110V(int v){
        if(v==110){
            System.out.println("I can Work!!");
        }else if (v>110){
            System.out.println("电压高：烧坏了");
        }else if (v<110){
            System.out.println("电压小：動不了");
        }
    }

}
